#include <ostream>
#include <QMetaEnum>
#include <Request/Base/AbstractProcedure.h>

std::ostream &operator << (std::ostream &s, TC::Request::AbstractProcedure::Status status)
{
	auto idx = TC::Request::AbstractProcedure::staticMetaObject.indexOfEnumerator("Status");
	auto str = TC::Request::AbstractProcedure::staticMetaObject.enumerator(idx).valueToKey((int)status);
	s << "Status::" << str;
	return s;
}